import { Vec3 } from "cc";

/**
 * 所有商品品类的数据模型
 */
export class dropMoneyModel {
    constructor(position: Vec3, amount: number, moneyType: number = 1) {
        this.position = position;
        this.amount = amount;
        this.moneyType = moneyType;
    }
    /**
     * 商品品类ID
     */
    public position: Vec3 = new Vec3(0, 0, 0);
    /**
     * 金额
     */
    public amount: number = 0;

    /**
     * 视频金币
     */
    public isVideo?: boolean = false;


    /**
     * 金币类型 1 是经营部分  2 是菩萨部分
     */
    public moneyType?: number = 1;

}
